package entity;

import sun.plugin2.main.server.Plugin;

import java.rmi.server.UID;
import java.util.Date;

public class User {

    public  static  int UID;
    private String uName;
    private String uId;
    private String uPassWord;
    private String uIdcard;
    private String uSex;
    private String uPhone;
    private String uBlack;

    public static int getUID() {
        return UID;
    }

    public static void setUID(int UID) {
        User.UID = UID;
    }

    private Date Utime;

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getuId() {
        return uId;
    }

    public void setuId(String uId) {
        this.uId = uId;
    }

    public String getuPassWord() {
        return uPassWord;
    }

    public void setuPassWord(String uPassWord) {
        this.uPassWord = uPassWord;
    }

    public String getuIdcard() {
        return uIdcard;
    }

    public void setuIdcard(String uIdcard) {
        this.uIdcard = uIdcard;
    }

    public String getuSex() {
        return uSex;
    }

    public void setuSex(String uSex) {
        this.uSex = uSex;
    }

    public String getuPhone() {
        return uPhone;
    }

    public void setuPhone(String uPhone) {
        this.uPhone = uPhone;
    }

    public String getuBlack() {
        return uBlack;
    }

    public void setuBlack(String uBlack) {
        this.uBlack = uBlack;
    }

    public Date getUtime() {
        return Utime;
    }

    public void setUtime(Date utime) {
        Utime = utime;
    }
    public User() {

    }

    public User(String uName, String uId, String uPassWord, String uIdcard, String uSex, String uPhone, String uBlack, Date utime) {
        this.uName = uName;
        this.uId = uId;
        this.uPassWord = uPassWord;
        this.uIdcard = uIdcard;
        this.uSex = uSex;
        this.uPhone = uPhone;
        this.uBlack = uBlack;
        Utime = utime;
    }

}